package com.jf.cloud.payment.allinpay.member.resp;


import com.jf.cloud.payment.allinpay.member.IdentityType;

/**
 * 企业账户基本信息
 * @author LGH
 */
public class CompanyBasicInfo {

	/**
	 * 企业名称
	 */
	protected String companyName;
	/**
	 * 企业地址  非必填
	 */
	protected String companyAddress;
	/**
	 * 企业执照号
	 */
	protected String businessLicense;
	/**
	 * 组织机构代码 非必填
 	 */
	protected String organizationCode;
	/**
	 * 联系电话 非必填
	 */
	protected String telephone;
	/**
	 * 法人姓名
	 */
	protected String legalName;
	/**
	 * 法人证件类型
	 */
	protected Integer identityType;
	/**
	 * 法人证件号 rsa加密
	 */
	protected String legalIds;
	/**
	 * 法人手机号
	 */
	protected String legalPhone;
	/**
	 * 企业对公账户
	 */
	protected String accountNo;
	/**
	 * 开户银行名称
	 */
	protected String parentBankName;
	/**
	 * 开户地区代码
	 */
	protected String bankCityNo;
	/**
	 * 开户支行名称  非必填
	 */
	protected String bankName;
	/**
	 * 支付行号 （非直连出金范围内的银行，必填） 非必填
	 */
	protected String unionBank;

	public CompanyBasicInfo(){}

	public CompanyBasicInfo(String companyName, String businessLicense,
							String legalName, IdentityType identityType, String legalIds,
							String legalPhone, String accountNo, String parentBankName,
							String bankCityNo) {
		this.companyName = companyName;
		this.businessLicense = businessLicense;
		this.legalName = legalName;
		this.identityType = identityType.value();
		this.legalIds = legalIds;
		this.legalPhone = legalPhone;
		this.accountNo = accountNo;
		this.parentBankName = parentBankName;
		this.bankCityNo = bankCityNo;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getCompanyAddress() {
		return companyAddress;
	}
	public void setCompanyAddress(String companyAddress) {
		this.companyAddress = companyAddress;
	}
	public String getBusinessLicense() {
		return businessLicense;
	}
	public void setBusinessLicense(String businessLicense) {
		this.businessLicense = businessLicense;
	}
	public String getOrganizationCode() {
		return organizationCode;
	}
	public void setOrganizationCode(String organizationCode) {
		this.organizationCode = organizationCode;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getLegalName() {
		return legalName;
	}
	public void setLegalName(String legalName) {
		this.legalName = legalName;
	}
	public Integer getIdentityType() {
		return identityType;
	}
	public void setIdentityType(IdentityType identityType) {
		this.identityType = identityType.value();
	}
	public String getLegalIds() {
		return legalIds;
	}
	public void setLegalIds(String legalIds) {
		this.legalIds = legalIds;
	}
	public String getLegalPhone() {
		return legalPhone;
	}
	public void setLegalPhone(String legalPhone) {
		this.legalPhone = legalPhone;
	}
	public String getAccountNo() {
		return accountNo;
	}
	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}
	public String getParentBankName() {
		return parentBankName;
	}
	public void setParentBankName(String parentBankName) {
		this.parentBankName = parentBankName;
	}
	public String getBankCityNo() {
		return bankCityNo;
	}
	public void setBankCityNo(String bankCityNo) {
		this.bankCityNo = bankCityNo;
	}
	public String getBankName() {
		return bankName;
	}
	public void setBankName(String bankName) {
		this.bankName = bankName;
	}
	public String getUnionBank() {
		return unionBank;
	}
	public void setUnionBank(String unionBank) {
		this.unionBank = unionBank;
	}


}
